package com.imchenio.utils.parallel.runnable.impl;

import com.imchenio.utils.parallel.ChannelGroup;

public class LogEntryRunner {
    public static void main(String[] args) {
        ChannelGroup<LogEntry> group = new ChannelGroup<>(20, 1000, new LogChannelRunnableFactory());
        for (int i = 0; i < 10000000; ++i) {
            LogEntry logEntry = new LogEntry();
            group.offer(logEntry.getUuid(), logEntry);
        }
    }
}
